import { defineStore } from "pinia"

export const UseWs = defineStore({
    id: 'Ws',
    state: () => ({
        token: ''
    }),
    actions: {
        async SetWsToken(token: any) {
            this.$patch({
                token: token,
            });
        },
    },
})